package com.ruoyi.word.dao.mapper;

import com.ruoyi.common.domain.word.CommonWordPronounce;
import com.ruoyi.common.domain.word.vo.CommonWordPronounceVo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface CommonWordPronounceMapper extends Mapper<CommonWordPronounce> {

    List<CommonWordPronounce> findByWord(@Param("wid") Long wid);

    int deleteByWid(@Param("wid") Long wid);

    List<CommonWordPronounceVo> findByContentIsNull(@Param("page")Integer page, @Param("pageSize")Integer pageSize);

    List<CommonWordPronounce> findByWords(@Param("wids") List<Long> wids);
}